Repository navigation
fix: release stream ids on request setup failure - #1008
Merged
dkropachev merged 1 commit intoOct 20, 2026
Merged
dkropachev merged 1 commit into
dkropachev merged 1 commit into
Conversation
dkropachev
force-pushed
the
dk/1002-release-acquired-stream-id
branch
from
October 19, 2026 22:24
c11ba9b to
7946c1e
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## scylla-4.x #1008 +/- ##
================================================
+ Coverage 84.82% 84.86% +0.03%
- Complexity 8629 8635 +6
================================================
Files 848 848
Lines 31033 31038 +5
Branches 4281 4282 +1
================================================
+ Hits 26323 26339 +16
+ Misses 4710 4699 -11 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
dkropachev
marked this pull request as ready for review
October 19, 2026 23:26
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can import rules and skills only from the repositories your team follows Powered by Qodo |
Author
Leaving these methods unchanged. The repository Javadoc guidance makes documentation optional for internal packages and does not require every method to be documented. This PR changes internal code and tests; the ownership comments and regression-test names describe the behavior. |
An acquired stream ID has consumed its reservation before frame creation and callback registration can fail. Release the concrete ID until a callback owns it, while preserving IDs owned by an existing callback. Cover frame creation and registration failures, verify reuse of the released ID, and preserve the original request and response lifecycle. Fixes scylladb#1002
dkropachev
force-pushed
the
dk/1002-release-acquired-stream-id
branch
from
October 19, 2026 23:35
60607b0 to
c2df2e2
Compare
nikagra
approved these changes
Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #1002.
Tests
JAVA_HOME=.../11.0.29-tem mvn -pl core -am -DskipITs -Dtest=InFlightHandlerTest -Dsurefire.failIfNoSpecifiedTests=false test